import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class HomePage1 extends StatefulWidget {

  final String data;

  const HomePage1({super.key, required this.data});

  @override
  State<HomePage1> createState() => _HomePage1State();
}

class _HomePage1State extends State<HomePage1> {

  @override
  Widget build(BuildContext context) {
    return Center(
      child: OutlinedButton(onPressed: () {
        Navigator.pop(context);
      }, child: Text("HomePage1 ${widget.data}"),

      ),
    );
  }
}
